#pragma once

#include <cstdlib>
#include <cmath>
#include <ctime>

class Enemy
{
private:
	//Turn combat mode on/off
	bool m_CombatMode ;

	//x and y position of enemy for 2d array
	int m_PosX ;
	int m_PosY ;

	//health
	int m_Energy ;
public:
	Enemy( ) ;
	~Enemy( ) ;

	//returns current health
	int GetEnergy( ) { return m_Energy ; }
	int GetPosX( ) { return m_PosX ; }
	int GetPosY( ) { return m_PosY ; }
	bool GetMode( ) { return m_CombatMode ; }

	//normal updating of enemy
	void Attack( ) ;
	void ChangeMode( ) ;
	void MoveEnemy( ) ;
	void PlaceEnemy( int x, int y ) ;
	void DamageEnemy( int dmg ) ;
} ;